package com.lagou.repository;

import com.lagou.pojo.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zjy
 */
@Repository
public interface OrderRepository extends JpaRepository<OrderDetail,Integer> {

    OrderDetail findByOrderCode(String orderCode);
}
